Remove GTK_ACCESSIBLE_STATE_NONE
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 15 Jul 2020 12:20:38 +0000 (13:20 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 26 Jul 2020 19:31:15 +0000 (20:31 +0100)
commitae446e8f4ae92cd72bc9eaa4803251a4b7b627a9
tree380b303aab44e3df34819c522cda510dbbf99352
parentc56e9b2031fbc3eea5262329c18b8ad06dc7f86b
Remove GTK_ACCESSIBLE_STATE_NONE

It's pointless, we can use an explicit value of `-1` everywhere.
Additionally, it complicates all code that uses the state enumeration as
an array index, since now we need to guard against a negative offset.
gtk/gtkaccessible.c
gtk/gtkaccessiblevalue.c
gtk/gtkenums.h